Skip to content

Only dismiss own reviews and update README documentation#15

Merged
matej merged 2 commits intomainfrom
matej/fix-dismiss-only-own-reviews
Feb 5, 2026
Merged

Only dismiss own reviews and update README documentation#15
matej merged 2 commits intomainfrom
matej/fix-dismiss-only-own-reviews

Conversation

@matej
Copy link
Copy Markdown
Member

@matej matej commented Feb 5, 2026

Summary

  • Fix review dismissal: Only dismiss reviews posted by this action, not all bot reviews (e.g., Dependabot, Renovate)
  • Update README: Document missing configuration options and add custom GitHub App section

Changes

Review Dismissal Fix

Previously, when dismiss-stale-reviews was enabled, the action would dismiss ALL bot reviews on the PR. This could inadvertently dismiss reviews from other bots like Dependabot or Renovate.

Now the action identifies its own reviews by checking for specific patterns in the review body (e.g., "Found N issues", "No issues found") and only dismisses those.

README Updates

  • Rename title to "Nutrient Code Reviewer"
  • Document missing configuration options: dismiss-stale-reviews, skip-draft-prs, require-label
  • Update Quick Start example to include labeled event type
  • Add new section explaining how to use a custom GitHub App for branded reviews

Test plan

  • Unit tests updated and passing for review dismissal logic
  • Verify README renders correctly on GitHub

🤖 Generated with Claude Code

matej and others added 2 commits February 4, 2026 16:15
Previously, dismissStaleReviews() would dismiss ALL bot reviews with
APPROVED or CHANGES_REQUESTED state. This could inadvertently dismiss
reviews from Dependabot, Renovate, or other important bot reviewers.

Now checks review body for our signature patterns before dismissing:
- "No issues found. Changes look good."
- "Found X issues..."
- "Please address the high-severity issues..."
- etc.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Rename title to "Nutrient Code Reviewer"
- Document missing configuration options: dismiss-stale-reviews,
  skip-draft-prs, and require-label
- Update Quick Start example with labeled event type
- Add section explaining how to use a custom GitHub App for branded reviews

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found. Changes look good.

@matej matej merged commit 9df7b78 into main Feb 5, 2026
2 checks passed
@matej matej deleted the matej/fix-dismiss-only-own-reviews branch February 5, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant